package com.zmn.plat.common.dto.price.meter;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 描述: 后台产品项目
 *
 * @author guoqiao
 * @since 2021/8/16 11:46
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ProductItem implements Serializable {

    private static final long serialVersionUID = 9149738276518122094L;

    @NotNull(message = "productId不能为空")
    @ApiModelProperty("后台产品id")
    private Integer productId;

    @NotNull(message = "items不能为空")
    @ApiModelProperty("已选项目集合")
    private List<Integer> itemList;

    @ApiModelProperty("品牌id")
    private Integer brandId;

    @ApiModelProperty("价格表id")
    private Integer tariffId;

    @ApiModelProperty("难度系数id")
    private Integer difficultId;

}
